|
:''This article is about a CSS technique. Not to be confused with the proprietary Microsoft-specific CSS property.'' A CSS filter is a coding technique used to hide or show CSS markup depending on the browser, version number, or capabilities. Browsers have different interpretations of CSS behavior and different levels of support for the W3C standards. CSS filters are sometimes used to achieve consistent layout appearance in multiple browsers that do not have compatible rendering. ==Prefix filters== Most browsers have CSS properties that apply in that browser only, or at least in the underlying render engine.〔(- WebKit CSS Styles )〕 The prefix on these properties is specific to each rendering engine.〔Render Engine Prefixes〕 Here is an example. Trident -ms- — All experimental properties are prefixed with "-ms-", e.g. -ms-interpolation-mode instead of interpolation-mode .Gecko -moz- — All experimental selectors, properties and values are prefixed with "-moz-", e.g. ::-moz-selection instead of ::selection .WebKit -webkit- — All experimental selectors, properties and values are prefixed with "-webkit-", e.g. -webkit-box-shadow instead of box-shadow .KHTML -khtml- — All experimental selectors, properties and values are prefixed with "-khtml-", e.g. -khtml-opacity instead of opacity .Presto # -xv- — All new selectors, properties and values introduced by CSS3 Speech Module are prefixed with "-xv-" (but not found in CSS2 aural style sheets), e.g. -xv-voice-rate instead of voice-rate .# -o- — All experimental properties are prefixed with "-o-", e.g. -o-transition-property instead of transition-property .The DOM properties corresponding to vendor-specific experimental CSS properties are prefixed with the vendor-prefix, without any hyphens. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「CSS filter」の詳細全文を読む スポンサード リンク
|